package edu.sctu.practice.class02.lvchang.test02;

/**
 * Created by Administrator on 2015/10/8.
 */
public class Client {
    public static void main(String[] args) {

        Vehicle vehicle = new Vehicle();

        int speed = vehicle.setSpeed(100);
        vehicle.size = 1200;

        System.out.println("car's speed : " + speed);
        System.out.println("car's size : " + vehicle.size);

        System.out.print("max speed:");
        vehicle.speedUp(100);

        System.out.print("min speed:");
        vehicle.speedDown(100);

        vehicle.move();
    }
}
